package com.shuangti.food.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("food_nutrition_db")
public class FoodNutritionTbl implements java.io.Serializable{

    @TableId(type = IdType.AUTO)
    private Long food_id;

    private String name;

    private String category;

    private int calories;

    private BigDecimal protein;

    private BigDecimal fat;

    private BigDecimal fiber;

    private String unit;

    private LocalDateTime created_at;
}
